package com.xiaoyu.tool.entity.kefu;

import com.xiaoyu.tool.entity.common.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author xiaoyu on 2018/7/2
 */
@Entity
@Table(name = "kefu_news")
@Data
@EqualsAndHashCode(callSuper=false)
public class KefuNews extends AbstractEntity {
    /**
     * 消息类型
     * */
    @Column
    private String msgType;
    /**
     * 消息具体类容
     * */
    @Column
    private String contant;
    /**
     * 事件KEY值，qrscene_为前缀，后面为二维码的参数值
     * */
    @Column
    private String eventKey;

    @Column
    private String event;


}










